<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:ez="http://java.sun.com/jsf/composite/ezcomp"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	template="../../template/headerBody.xhtml">
	<ui:param name="title" value="WANDA Authentication Flow" />
	<ui:define name="header">
		<ui:include src="./fbAuthflow.xhtml">
			<ui:param name="step" value="2" />
		</ui:include>
	</ui:define>
	<ui:define name="body">
		<rich:panel>
			<f:facet name="header">
				<h:outputText value="WANDA Subject Login Information" />
			</f:facet>
			<h:form>
				<h:panelGrid columns="3">
					<h:outputText value="User ID:" />
					<h:inputText label="userId" id="userId" required="true"
						value="#{userSession.studyUserID}">
						<f:validateLength maximum="25" />
					</h:inputText>
					<rich:message for="userId" ajaxRendered="true" />
					<h:outputText value="Password:" />
					<h:inputSecret label="password" id="password" required="true"
						value="#{userSession.password}">
						<f:validateLength minimum="8" maximum="20" />
					</h:inputSecret>
					<rich:message for="password" ajaxRendered="true" />
					<f:facet name="footer">
						<a4j:commandButton id="submit" value="Submit"
							action="#{userSession.DoStudyAuthentication}" />
					</f:facet>
				</h:panelGrid>
			</h:form>
		</rich:panel>
	</ui:define>
</ui:composition>